﻿#include "b64.h"

int main(int argc, char* argv[])
{
//--------------------加密部分测试---------------
	char *txt = "hello.jjjjj,mzooo.llllkk2eeeeewteeejcdsjcacnajcnd)(**&%$dcdscd%$#@!@#$~sdcacmdcm,d??><:scdsjcjdcjjdcjjcdj";
	char *cout = B64(B64_ENCODE,txt);
	
	base64_encode(txt);
	printf("Encode:		%s \n",cout);

//--------------------解密部分测试---------------
	//char *testText = "aGVsbG8ubmV0Lm9vb29v3";

	printf("size %d \n",strlen(cout));
	printf("DEcode:		%s \n",B64(B64_DECODE,cout));
	return 0;
}
